﻿/*
* ==============================================================================
*
* FileName: MenusDto.cs
* Created: 2020/11/9 13:13:31
* Author: Yuhui
* Description: 
*
* ==============================================================================
*/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Information.System.Model.Dto.System
{
    public class DictionaryDto
    {
        /// <summary>
        /// 描述 : 主键 
        /// 空值 : False
        /// 默认 : 
        /// <summary>
        [Display(Name = "主键")]
        public string ID { get; set; }

        /// <summary>
        /// 描述 : 字典名称 
        /// 空值 : false
        /// 默认 : 
        /// <summary>
        [Display(Name = "字典名称")]
        [Required(ErrorMessage = "字典名称不能为空")]
        public string Name { get; set; }

        /// <summary>
        /// 描述 : 字典值 
        /// 空值 : True
        /// 默认 : 
        /// <summary>
        [Display(Name = "字典值")]
        [Required(ErrorMessage = "字典值不能为空")]
        public string Value { get; set; }

        /// <summary>
        /// 描述 : 排序 
        /// 空值 : True
        /// 默认 : 
        /// <summary>
        [Display(Name = "排序")]
        public int? SortIndex { get; set; }

        /// <summary>
        /// 描述 : 父节点id 
        /// 空值 : True
        /// 默认 : 
        /// <summary>
        [Display(Name = "父节点id")]
        public string ParentID { get; set; }

        /// <summary>
        /// 描述 : 备注 
        /// 空值 : True
        /// 默认 : 
        /// <summary>
        [Display(Name = "备注")]
        public string Remark { get; set; }
    }
}
